package com.omnisyr.textrebuilder.util;

public class CounterNode<T> {

	private T content;
	private int count;

	public CounterNode(T content) {

		this.content = content;
		this.count = 0;

	}

	@Override
	public String toString() {

		return this.content + " : " + this.count;

	}

	public T get() {

		return this.content;

	}

	public int count() {

		return this.count;

	}

	public void setCount(int count) {

		this.count = count;

	}

}
